Search
BitMask.set(T) Method
See Also
 






Method returns int representing the BitMask value from given EnumSet

Namespace: com.mindfusion.common
Package: com.mindfusion.common

 Syntax

Java  Copy Code

<T> int set (
    EnumSet<T> values,
    Class<T> instance
)

 Parameters

values

A EnumSet that is converted to BitMask value

instance

a Class to detect concrete type of Enum.

 Return Value

BitMask value.

 See Also